package com.uchengwang.functions.http.config;

import com.uchengwang.functions.http.listener.IHttpManager;

/**
 * Created by U城网 on 2017/4/30.
 * 评论相关配置
 */

public interface CmtConfig {

    /**
     * 获取评论列表  发评论
     * */
    public interface Comment{
        IHttpManager.RequestMethod GET_CMT = IHttpManager.RequestMethod.GET;//获取评论列表
        IHttpManager.RequestMethod POST_CMT = IHttpManager.RequestMethod.POST;//发评论

        String URL = "/cmt";
    }

    /**
     * 删除一条评论
     * */
    public interface DeleteCom{
        IHttpManager.RequestMethod METHOD = IHttpManager.RequestMethod.DELETE;
        String URL = "/cmt/cmt";

    }

    /**
     * 获取回复列表  回复  删除一条回复
     * */

    public interface Reply{
        IHttpManager.RequestMethod GET_REPLY = IHttpManager.RequestMethod.GET;//获取回复列表
        IHttpManager.RequestMethod POST_REPLY = IHttpManager.RequestMethod.POST;//发回复
        IHttpManager.RequestMethod DELETE_REPLY = IHttpManager.RequestMethod.DELETE;//删除一条回复
        String URL = "/cmt/reply";


    }

}
